package com.work.demo.threaddemo;


public class Synchronized {
    public synchronized void husband(){
        synchronized(this){

        }
    }
}